package cn.ybk.pet.service.impl;

import cn.ybk.pet.domain.PetDetail;
import cn.ybk.pet.mapper.PetDetailMapper;
import cn.ybk.pet.service.IPetDetailService;
import cn.ybk.basic.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class PetDetailServiceImpl extends BaseServiceImpl<PetDetail> implements IPetDetailService {

    @Autowired
    private PetDetailMapper petDetailMapper;

    @Override
    public PetDetail detail(Long id) {
        return petDetailMapper.findeByPetId(id);
    }



}
